
package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import lombok.Data;

import java.time.LocalDate;

@Data
public class RiskPromiseCardListBean {

    private Long id;
    private String code;
    private Long riskDistrictId;
    private String riskDistrictName;
    private String description;
    private String createTime;
    private String creator;
    private String content;

    //应知卡部分
    //岗位
    private Long jobId;
    private String jobName;
    //风险等级
    private String riskLevel;
    //安全警示标示
    private String safeWarnMark;
    //主要危险有害因素
    private String mainDangerFactor;
    //易导致事故风险
    private String accidentRisk;
    //风险管控措施
    private String riskControlAction;
    //应急处置对策
    private String urgentCountermeasure;

    //应急卡部分
    //应急卡名称
    private String name;
    //外部应急电话
    private String outerUrgentTel;
    //内部应急电话
    private String innerUrgentTel;
    //发生场所
    private String happenPlace;
    //事故特征
    private String accidentFeature;
    //危害描述
    private String harmDescribe;
    //步骤说明
    private String stepExplain;
    //处置措施
    private String dealAction;

    //承诺卡部分
    //承诺人证件号码
    private String certNumber;
    //主管领导
    private Long managerUserId;
    private String managerUserName;
    //主管领导证件号码
    private String managerCertNumber;
    //承诺事项
    private String promiseContent;
    //承诺日期
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate promiseDate;
    //承诺人
    private Long promiseUserId;
    private String promiseUserName;
    //主要负责人
    private Long mainChargerId;
    private String mainChargerName;
    // 附件
    private BaseAttachmentBean attachment;
}
